MailPoet\Automation\Integrations\MailPoet\Actions\SendEmailAction A

Total Complexity 75
Dependencies 32
Dependents 5
Total lines 502
Lines of code 335
Logical lines of code 187
Comment lines 34
Methods 21
Properties 10

Methods 21

Method Rating Maintainability Complexity Lines of code
run()
A
46 8 39
getSubscriber()
A
49 8 32
getNewsletterMeta()
S
50 6 29
storeNewsletterOption()
S
51 6 28
saveEmailSettings()
S
50 6 28
checkSendingStatus()
S
54 6 19
getArgsSchema()
S
52 5 22
isTransactional()
S
57 5 18
handleEmailSent()
S
55 4 20
getEmailForStep()
S
58 4 15
validate()
S
56 3 18
rerunLater()
S
61 3 11
isOptInRequired()
S
72 2 5
scheduleEmail()
S
66 2 8
__construct()
S
62 1 12
getKey()
S
81 1 3
getRunLogData()
S
76 1 4
getSubjectKeys()
S
76 1 5
getName()
S
79 1 3
automationHasWooCommerceTrigger()
S
68 1 8
automationHasAbandonedCartTrigger()
S
68 1 8